package com.dongdongshop.service;

import com.dongdongshop.pojo.TbSeckillGoods;
import com.dongdongshop.pojo.TbSeckillOrder;
import com.dongdongshop.pojo.TbUser;

import java.util.List;

public interface SeckillService {
    List<TbSeckillGoods> getSeckills();

    List<TbSeckillGoods> getSeckillList();

    TbSeckillGoods getSeckillById(Long id);

    void addSeckill(Long id, TbUser user) throws Exception;

    Long selectRedisOrder(String username);
}
